package com.example.stock;

public class holdstock {
    private String name;
    private String price;
    private String num;


    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getprice() {
        return price;
    }
    public void setprice(String price) {
        this.price = price;
    }
    public String getnum() {
        return num;
    }
    public void setnum(String num) {
        this.num = num;
    }
    @Override
    public String toString() {
        return name + ", " + price + ", " + num;
    }
    public holdstock(String name, String price, String num) {
        super();
        this.name = name;
        this.price = price;
        this.num = num;
    }
}
